package org.suk.dp.adapter;

import java.text.MessageFormat;

/**
 * Description:外籍中锋 <br/>
 * @version V1.0  2017/6/21 11:55  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class ForeignCenter {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    void 进攻(){
        System.out.println(MessageFormat.format("外籍中锋 {0} 进攻",this.name));
    }

    void 防守(){
        System.out.println(MessageFormat.format("外籍中锋 {0} 防守",this.name));
    }
}
